import { getUserDetailById } from '@/api/user'
export default {
	data() {
		return {
			userInfo: {},
			name1: 'jack'
		}
	},
	create() {
		// this.getUser()
	},
	methods: {
		async getUser() {
			const res = await getUserDetailById(this.$route.params.id)
			console.log(res, 5)
			this.userInfo = res.data
		}
	}
}
